﻿/**********************  此代码是由代码生成器生成，生成时间： 2012/12/4 21:28:59  ************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Data;

namespace CRM.Entity
{
    [DataContract]
    public partial class ArticleType
    {
        public ArticleType()
        {

        }

        public ArticleType(DataRow row)
        {
        
            if (row["TypeId"] != null && row["TypeId"].ToString() != "")
            {
                this.TypeId =Convert.ToInt64(row["TypeId"]);
            } 
            if (row["TypeName"] != null && row["TypeName"].ToString() != "")
            {
                this.TypeName =Convert.ToString(row["TypeName"]);
            } 
            if (row["CreateTime"] != null && row["CreateTime"].ToString() != "")
            {
                this.CreateTime =Convert.ToDateTime(row["CreateTime"]);
            } 
            if (row["Disable"] != null && row["Disable"].ToString() != "")
            {
                this.Disable =Convert.ToBoolean(row["Disable"]);
            } 
        }

       /**********************************  TypeId ************************************************/
        [DataMember]
        public Int64 TypeId
        {
          get;
          set;
        }
       /**********************************  TypeName ************************************************/
        [DataMember]
        public String TypeName
        {
          get;
          set;
        }
       /**********************************  CreateTime ************************************************/
        [DataMember]
        public DateTime CreateTime
        {
          get;
          set;
        }
       /**********************************  Disable ************************************************/
        [DataMember]
        public Boolean Disable
        {
          get;
          set;
        }
    }
}